
import {
  Body,
  Controller,
  Get,
  Post,
  Queries,
  Query,
  Request,
  Route,
  ValidateParam,
} from "tsoa";

/**
 * 我是你爹
 */
interface ReqParam1 {
   /**
     * 用户名称
     */
  name: string;
   /**
     * 凝练
     */
  age?: number;
}

@Route("hw")
export class HwController extends Controller {

  /**
   * 说hello
   * @param body 说hello
   * @returns 用户信息
   */
  @Post("/put")
  public async sayHello(@Body() body: ReqParam1): Promise<void> {
    console.log(body)
    return
  }

}
